mmc: Add a prototype for board_mmc_init()
authorFabio Estevam <[email protected]>
Sat, 15 Feb 2014 16:51:59 +0000 (14:51 -0200)
committerStefano Babic <[email protected]>
Wed, 5 Mar 2014 11:23:48 +0000 (12:23 +0100)
Fixes the following sparse warning:

wandboard.c:137:5: warning: symbol 'board_mmc_init' was not declared. Should it be static?

Cc: Pantelis Antoniou <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
include/mmc.h

index e1060b9ff2794f5b3ebb77b14321ccad1c499d54..218c03f4f6282fe087d54e1cb150cb209a0d75c7 100644 (file)
@@ -349,4 +349,6 @@ struct mmc *mmc_spi_init(uint bus, uint cs, uint speed, uint mode);
 int mmc_legacy_init(int verbose);
 #endif
 
+int board_mmc_init(bd_t *bis);
+
 #endif /* _MMC_H_ */